﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterALSafa.Master" AutoEventWireup="true"
    CodeBehind="TE_Grad_Success_Policy.aspx.cs" Inherits="School.Pages.Teaching.TE_Grad_Success_Policy" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
    </div>
    <div class="devheader">
        سياسة النجاح للصف
    </div>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="pnlSearch" CssClass="clr fieldsettd" runat="server">
                <fieldset style="border: 1px solid #CCC">
                    <div id="hideshow">
                        <div class="col1">
                            <ul>
                                <li>المجمع
                                    <div class="field">
                                        <asp:DropDownList ID="ddlCampus" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                            DataTextField="Name" DataValueField="Id" OnTextChanged="ddlCampus_TextChanged"
                                            Width="150px">
                                            <asp:ListItem Value="0">اختيار</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator8" runat="server" ControlToValidate="ddlCampus"
                                            Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                    </div>
                                </li>
                                <li>الشهاده
                                    <div class="field">
                                        <asp:DropDownList ID="ddlCertificate" runat="server" AppendDataBoundItems="True"
                                            AutoPostBack="True" DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlCertificate_SelectedIndexChanged"
                                            Width="150px" TabIndex="1">
                                            <asp:ListItem Value="0">اختيار</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="ddlCertificate"
                                            Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                    </div>
                                </li>
                                <li>
                                    <div class="field">
                                        <asp:Button ID="btndisplay" runat="server" Text="عـــرض" OnClick="btndisplay_Click"
                                            ValidationGroup="st" />
                                    </div>
                                </li>
                            </ul>
                        </div>
                        <div class="col2">
                            <ul>
                                <li>المرحله
                                    <div class="field">
                                        <asp:DropDownList ID="ddlStadge" runat="server" AppendDataBoundItems="True" AutoPostBack="True"
                                            DataTextField="Name" DataValueField="Id" OnSelectedIndexChanged="ddlStadge_SelectedIndexChanged"
                                            Width="150px" TabIndex="2">
                                            <asp:ListItem Value="0">اختيار</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="ddlStadge"
                                            Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                    </div>
                                </li>
                                <li>الصف
                                    <div class="field">
                                        <asp:DropDownList ID="ddlGrade" runat="server" AppendDataBoundItems="True" DataTextField="Name"
                                            DataValueField="Id" Width="150px" TabIndex="3">
                                            <asp:ListItem Value="0">اختيار</asp:ListItem>
                                        </asp:DropDownList>
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="ddlGrade"
                                            Display="Dynamic" ErrorMessage="*" ForeColor="Red" InitialValue="0" ValidationGroup="st">*</asp:RequiredFieldValidator>
                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                </fieldset>
            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
        <ContentTemplate>
            <div class="field">
                <asp:Label ID="lbltst" runat="server" Text="" Visible="False"></asp:Label>
            </div>
            <fieldset id="fgv" runat="server" visible="False" style="border: 1px solid #CCC;
                clear: both">
                <div style="padding: 10px">
                    <asp:GridView ID="gvsubject" runat="server" AllowPaging="True" AlternatingRowStyle-CssClass="GridItemAltername"
                        AutoGenerateColumns="False" CssClass="Grid" DataKeyNames="Id" FooterStyle-CssClass="GridHeaderFooter"
                        HeaderStyle-CssClass="GridHeaderFooter" PagerStyle-CssClass="GridPager" Width="80%"
                        ShowFooter="True">
                        <AlternatingRowStyle CssClass="GridItemAltername" />
                        <Columns>
                            <asp:BoundField DataField="Subject_Name" HeaderText="المادة" SortExpression="Subject_Name" />
                            <asp:TemplateField>
                                <FooterTemplate>
                                    <div align="center">
                                        <asp:Button ID="btnSave" runat="server" Text="حــفظ" OnClick="btnSave_Click" />
                                    </div>
                                </FooterTemplate>
                                <ItemTemplate>
                                    <div>
                                        <div class="col1">
                                            <ul>
                                                <li>
                                                    <asp:RadioButtonList ID="rdbtype" runat="server">
                                                        <asp:ListItem Value="1" Selected="True">مضاف للمجموع</asp:ListItem>
                                                        <asp:ListItem Value="2">نجاح/رسوب</asp:ListItem>
                                                    </asp:RadioButtonList>
                                                </li>
                                            </ul>
                                        </div>
                                    </div>
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                        <FooterStyle CssClass="GridHeaderFooter"></FooterStyle>
                        <HeaderStyle CssClass="GridHeaderFooter"></HeaderStyle>
                        <PagerStyle CssClass="GridPager"></PagerStyle>
                    </asp:GridView>
                </div>
            </fieldset>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
